package ch.janotta.slawo.ultraquest.gui.charactergeneration;

import java.util.List;

import ch.janotta.slawo.ultraquest.types.Area;
import ch.janotta.slawo.ultraquest.types.Character;
import ch.janotta.slawo.ultraquest.types.Gender;
import ch.janotta.slawo.ultraquest.types.Item;
import ch.janotta.slawo.ultraquest.types.Profession;
import ch.janotta.slawo.ultraquest.types.RidingMount;
import ch.janotta.slawo.ultraquest.types.Species;

public class CharacterGenerationModell {
  private CharacterGenerationController controller;
  private Character characterData;

  public CharacterGenerationModell(CharacterGenerationController controller) {
    this.controller = controller;
    this.characterData = new Character();
  }

  public void update() {
//    characterData.setName(controller.getNname());
//    characterData.setSpecies(controller.getSpecies());
//    characterData.setGender(controller.getGgender());
//    characterData.setProfession(controller.getProfession());
//    characterData.setNativeAreas(controller.getNativeAreas());
//    characterData.setSpeed(controller.getSpeed());
//    characterData.setStrength(controller.getStrength());
//    characterData.setDexterity(controller.getDexterity());
//    characterData.setIntelligence(controller.getIntelligence());
//    characterData.setCarriedItems(controller.getCarriedItems());
//    characterData.setBackpackItems(controller.getBackpackItems());
//    characterData.setGold(controller.getGold());
//    characterData.setRidingMount(controller.getMount());
  }

  public String getName() {
    return characterData.getName();
  }

  public Species getSpecies() {
    return characterData.getSpecies();
  }

  public Gender getGender() {
    return characterData.getGender();
  }

  public Profession getProfession() {
    return characterData.getProfession();
  }

  public List<Area> getNativeAreas() {
    return characterData.getNativeAreas();
  }

  public int getSpeed() {
    return characterData.getSpeed();
  }

  public int getStrength() {
    return characterData.getStrength();
  }

  public int getDexterity() {
    return characterData.getDexterity();
  }

  public int getIntelligence() {
    return characterData.getIntelligence();
  }

  public List<Item> getCarriedItems() {
    return characterData.getCarriedItems();
  }

  public List<Item> getBackpackItems() {
    return characterData.getBackpackItems();
  }

  public int getGold() {
    return characterData.getGold();
  }

  public RidingMount getRidingMount() {
    return characterData.getRidingMount();
  }

  public int getMaxCloseCombatValue() {
    return characterData.getMaxCloseCombatValue();
  }

  public int getMaxRangedCombatValue() {
    return characterData.getMaxRangedCombatValue();
  }

  public int getMaxCombinedCombatValue() {
    return characterData.getMaxCombinedCombatValue();
  }
}
